P+ - Game & Watch - Common Subroutine 0x19834
- if ((InternalConstantInt(ControlStickXAxisAbsolute) LessThan InternalConstantInt (0xc5c)))
- IfStatementAnd ((InternalConstantInt(ControlStickYAxisAbsolute) LessThan InternalConstantInt (0xc5d)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 264 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 255 }
- else
- if (StickDirectionPressed)
- if ((InternalConstantInt(ControlStickXAxisRelative) GreaterThanOrEqual scalar(0)))
- if ((InternalConstantInt (0x520b) LessThan InternalConstantInt (0x5a55)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 268 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 259 }
- BoolVariableSetTrue { variable: LongtermAccessBool (0x2a) }
- UnknownEvent { namespace: 0xc, code: 0x20, unk1: 0x0, arguments: [Value(1), Value(25)] }
- else
- IntVariableSet { variable: RandomAccessInt (0x0), value: 264 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 255 }
- else
- if ((InternalConstantInt (0x520b) LessThan InternalConstantInt (0x5a55)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 269 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 260 }
- BoolVariableSetTrue { variable: LongtermAccessBool (0x2a) }
- UnknownEvent { namespace: 0xc, code: 0x20, unk1: 0x0, arguments: [Value(1), Value(25)] }
- else
- IntVariableSet { variable: RandomAccessInt (0x0), value: 265 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 256 }
- FloatVariableSet { variable: RandomAccessFloat(EnableTurnWhenBelowZero), value: InternalConstantInt(CharacterDirectionOpposite) }
- else
- if ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual scalar(0)))
- if ((InternalConstantInt(EffectOfAttack) LessThan InternalConstantInt (0x5a55)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 270 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 261 }
- BoolVariableSetTrue { variable: LongtermAccessBool (0x2a) }
- UnknownEvent { namespace: 0xc, code: 0x20, unk1: 0x0, arguments: [Value(1), Value(25)] }
- else
- IntVariableSet { variable: RandomAccessInt (0x0), value: 266 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 257 }
- else
- if ((InternalConstantInt(EffectOfAttack) LessThan InternalConstantInt (0x5a55)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 271 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 262 }
- BoolVariableSetTrue { variable: LongtermAccessBool (0x2a) }
- UnknownEvent { namespace: 0xc, code: 0x20, unk1: 0x0, arguments: [Value(1), Value(25)] }
- else
- IntVariableSet { variable: RandomAccessInt (0x0), value: 267 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 258 }